ElasticPress\Feature\WooCommerce\WooCommerce D

Total Complexity 191
Dependencies 5
Dependents 1
Total lines 1,402
Lines of code 763
Logical lines of code 399
Comment lines 467
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
translate_args()
D
20
53 205
price_filter()
A
46 15 36
should_integrate_with_query()
A
49 13 29
translate_args_admin_products_list()
A
44 12 44
add_order_items_search()
A
53 8 19
maybe_disable_decaying()
A
57 8 16
search_order()
A
56 8 16
whitelist_taxonomies()
S
53 7 23
add_variations_skus_meta()
S
52 6 27
maybe_display_notice_about_product_ordering()
S
54 6 19
maybe_hook_woocommerce_search_fields()
S
61 6 11
whitelist_meta_keys()
S
39 1 83
admin_product_list_request_query()
S
58 5 15
setup()
S
48 3 31
add_product_attributes_to_weighting()
S
56 3 18
add_product_default_post_type_weights()
S
58 3 16
blacklist_coupons()
S
65 4 9
output_feature_box_settings()
S
51 2 28
get_orderby_meta_mapping()
S
56 2 19
add_product_attributes()
S
64 3 10
action_sync_on_woocommerce_sort_single()
S
64 3 10
remove_author()
S
67 3 8
requirements_status()
S
66 2 8
bypass_order_permissions_check()
S
68 2 7
keep_order_fields()
S
68 2 7
suggest_wc_add_post_type()
S
70 2 6
is_orders_autosuggest_enabled()
S
78 2 3
__construct()
S
59 1 14
convert_post_object_to_id()
S
75 1 4
disallow_duplicated_query()
S
75 1 4
is_orders_autosuggest_available()
S
78 1 3
output_feature_box_long()
S
75 1 5
add_weight_settings_search()
S
70 1 6
get_admin_searchable_post_types()
S
75 1 4